package com.cashmama.market.api.application.controller.user.profile.request;

import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2019-12-26 14:22
 **/
public class GpsRequest {

    @NotBlank(message = "lng can not be empty")
    private String lng;

    @NotBlank(message = "lat can not be empty")
    private String lat;

    private String area;

    private Date updateTime;

    public String getLng() {
        return lng;
    }

    public GpsRequest setLng(String lng) {
        this.lng = lng;
        return this;
    }

    public String getLat() {
        return lat;
    }

    public GpsRequest setLat(String lat) {
        this.lat = lat;
        return this;
    }

    public String getArea() {
        return area;
    }

    public GpsRequest setArea(String area) {
        this.area = area;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public GpsRequest setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }
}
